<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>信息修改</title>
<style type="text/css">
/* #con {
	position: relative;
	height: 495px;
	border-radius: 4px;
	background:;
}

 #c_con {
	position: absolute;
	width: 500px;
	height: 380px;
	bottom: 60px;
	left: 29%;
	border: 1px #ccc solid; 
	clear: both;
	align-content: center;
	background: ;
	border-radius: 6px;
} 
 */
#btn {
	width: 80px;
	height: 30px;
	border-radius: 4px;
	margin-right: 30px;
	background:#ff3333
}

table tr td{
	font-size:18px;
}

</style>
<script type="text/javascript">
	function docheck() {
		return confirm("您确定修改个人信息吗？");
	}
</script>
</head>
<body>
	<jsp:include page="nsearch.jsp"></jsp:include>
			<form action="<%=request.getContextPath()%>/user/imformationAlter"
				method="post" onsubmit="return docheck()">
				<table align="center" height="240px">
					<tr>
						<td algin=center">&nbsp;&nbsp;&nbsp;个人信息修改</td>
					</tr>
					<tr>
						<td><input type="hidden" name="_method" value="PUT"></td>
					</tr>
					<tr>
						<td><input type="hidden" name="id" value="${loginUser.id }"></td>
					</tr>
					<tr>
						<td>账号：</td>
						<td><input type="text" id="tx" name="username"
							value="${loginUser.username }" readonly="true" /></td>
					</tr>
					<tr>
						<td>昵称：</td>
						<td><input type="text" id="tx" name="nickname"
							value="${loginUser.nickname }" maxlength="8" required autofocus /></td>
					</tr>
					<tr>
						<td>手机号:</td>
						<td><input type="text" id="tx" name="phone"
							value="${loginUser.phone }" maxlength="11"
							pattern="1[345789]\d{9}$" required autofocus /></td>
					</tr>
					<tr>
						<td>出生日期:</td>
						<td><input type="date" id="tx" name="birth"
							value="${loginUser.birth }" required autofocus /></td>
					</tr>
					<br/><br/><br/>

					<tr>
						<td><input type="submit" name="Submit" value="修改" id="btn" style="color:#fff"></td>
						<td><input type="reset" name="reset" value="重置" id="btn" style="color:#fff"></td>
					</tr>
				</table>
			</form>
	
</body>
</html>